package metier;

/**
 * Created with IntelliJ IDEA.
 * User: keita
 * Date: 13/06/13
 * Time: 15:24
 */
public abstract class Tick implements intrumentMessage{
    int tickerId, field;
    double value;

    @Override
    public Object getValue() {
        return value;
    }

    public int getTickerId() {
        return tickerId;
    }

    public int getField() {
        return field;
    }

    protected Tick(int tickerId, int field, double value) {
        this.tickerId = tickerId;
        this.field = field;
        this.value = value;
    }
}
